package com.wh.springboot.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("role_menu")
public class RoleMenu {
    @TableId(value = "role_id", type = IdType.AUTO)
    private Integer roleId;//角色ID
    private Integer menuId;//菜单ID
}
